Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Presto KYC #1309

Merged
merged 11 commits into from
Jan 23, 2025
Merged

Presto KYC #1309

merged 11 commits into from
Jan 23, 2025

Conversation

wer1st
Copy link
Contributor

@wer1st wer1st commented Dec 28, 2024

  • Added general Presto KYC SBT asset that regulates PRUSD & Coupons
  • Added Investor KYC SBT that could be used to identify investor
  • Added Creditor KYC SBT that could be used to identify creditors. Only creditors can create Crop Receipts.
  • Presto DEX became private

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
Signed-off-by: Mikhail Tagirov <dev.mikhail.tagirov@outlook.com>
Signed-off-by: Mikhail Tagirov <dev.mikhail.tagirov@outlook.com>
Signed-off-by: Mikhail Tagirov <dev.mikhail.tagirov@outlook.com>
Signed-off-by: Mikhail Tagirov <dev.mikhail.tagirov@outlook.com>
Signed-off-by: Mikhail Tagirov <dev.mikhail.tagirov@outlook.com>
Signed-off-by: Mikhail Tagirov <dev.mikhail.tagirov@outlook.com>
Signed-off-by: Mikhail Tagirov <dev.mikhail.tagirov@outlook.com>
wer1st and others added 4 commits January 22, 2025 19:36
@wer1st wer1st linked an issue Jan 22, 2025 that may be closed by this pull request
@wer1st wer1st merged commit f4fdf41 into master Jan 23, 2025
6 checks passed
@wer1st wer1st deleted the presto-kyc branch January 23, 2025 09:11
CvijanCBS pushed a commit that referenced this pull request Jan 24, 2025
Signed-off-by: Mikhail Tagirov <dev.mikhail.tagirov@outlook.com>
vovac12 added a commit that referenced this pull request Jan 24, 2025
* feat: setting up collateral factor and implementing it in borrow and add_collateral extrinsic

* Presto: publish Crop Receipt (#1294)

Signed-off-by: Mikhail Tagirov <dev.mikhail.tagirov@outlook.com>

* Presto: fix strings (#1296)

Signed-off-by: Mikhail Tagirov <dev.mikhail.tagirov@outlook.com>

* cover with wip new fee events (#1297)

* Presto: fix USA name (#1298)

Signed-off-by: Mikhail Tagirov <dev.mikhail.tagirov@outlook.com>

* Prepare release 4.5.2 (#1299)

Co-authored-by: Mikhail Tagirov <dev.mikhail.tagirov@outlook.com>

* Presto: benchmarks (#1300)

* benchmarks

Signed-off-by: Mikhail Tagirov <dev.mikhail.tagirov@outlook.com>

* weights

Signed-off-by: Mikhail Tagirov <dev.mikhail.tagirov@outlook.com>

---------

Signed-off-by: Mikhail Tagirov <dev.mikhail.tagirov@outlook.com>

* fix: adjusting the default value for the collateral factor

* Presto: minor fix flag

Signed-off-by: Mikhail Tagirov <dev.mikhail.tagirov@outlook.com>

* Change fee to small fee for vesting (#1304)

* change fee to small fee for vesting

* Random xor-fee remint (#1305)

* Random xor-fee remint

* Add benchmark

* Fix clippy

* Fix review issues

* Prepare release 4.5.3 (#1306)

* Prepare release 4.5.3

* Update Cargo.lock

* Benchmark results of benchmarking-4.5.3 from master (#1308)

* Fix benchmarking

* benchmarking results

Signed-off-by: sorabot <bot@soramitsu.co.jp>

* Fix benchmarks

* Fix xor-fee and demeter benchmarks

* Fix remint without wip

* benchmarking results

Signed-off-by: sorabot <bot@soramitsu.co.jp>

---------

Signed-off-by: sorabot <bot@soramitsu.co.jp>
Co-authored-by: Vladimir Stepanenko <vovac12@gmail.com>

* 1171 xorless fee part 2 (#1290)

* add check for depth

* change assets in migration

* compute fee for order book and vested transfer

* update Carrgo.lock

* add set referrer

---------

Co-authored-by: Vladimir Stepanenko <vovac12@gmail.com>

* aggregating total collateral amount in separate storage for easier tracking

* migrations for the new approach with total collateral amount

* test coverage of new features

* updating typos in the lib of apollo pallet

* migration update

* Test coverage for updated migration

* minor update to migrations tests in apollo platform

* Moving runtime upgrade to empty struct (MigrateToV1) with OnRuntimeUpgrade implementation

* Presto KYC (#1309)

Signed-off-by: Mikhail Tagirov <dev.mikhail.tagirov@outlook.com>

* fix: typo

* fix: changing migration checks for pre and post upgrade

* Update const STORAGE_VERSION from 0 to 1

Co-authored-by: Vladimir Stepanenko <vovac12@gmail.com>

* Update multiplier for reading the old and new storage

Co-authored-by: Vladimir Stepanenko <vovac12@gmail.com>

* Fix TBC reserves distribution (#1311)

* Fix TBC reserves distribution

* Update pallets/multicollateral-bonding-curve-pool/src/mock.rs

Co-authored-by: Taras Rusakovich <56021558+ZlayaMorda@users.noreply.github.com>

---------

Co-authored-by: Taras Rusakovich <56021558+ZlayaMorda@users.noreply.github.com>

* Prepare release 4.5.4 (#1312)

* feat: added apollo-platform migrations to the runtime migrations

---------

Signed-off-by: Mikhail Tagirov <dev.mikhail.tagirov@outlook.com>
Signed-off-by: sorabot <bot@soramitsu.co.jp>
Co-authored-by: CvijanCBS <cvijan@ceresblockchain.solutions>
Co-authored-by: Mikhail Tagirov <dev.mikhail.tagirov@outlook.com>
Co-authored-by: Taras Rusakovich <56021558+ZlayaMorda@users.noreply.github.com>
Co-authored-by: Vladimir Stepanenko <vovac12@gmail.com>
Co-authored-by: sorabot <32125183+sorabot@users.noreply.github.com>
Co-authored-by: Cvijan Djukanovic <159775818+CvijanCBS@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

WBPS. Access and actions via SBT
4 participants